<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" isELIgnored="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<table id="table_expertTrain"></table>
<script>
    var $table_expertTrain = $('#table_expertTrain');
    $table_expertTrain.bootstrapTable({
        data:${data},
        striped: true,
        height:272,
        columns: [
            {
                formatter: function (value, row, index) {
                    return index + 1;
                }
            },
            {
                field: 'startTime',
                title: '开始时间',
                formatter: function (value, row, index) {
                    return [$.sysPlugin.int2DateString(value)].join('');
                }
            }, {
                field: 'endTime',
                title: '结束时间',
                formatter: function (value, row, index) {
                    return [$.sysPlugin.int2DateString(value)].join('');
                }
            },
            {
                halign: 'center',
                align: 'left',
                width: 200,
                field: 'name',
                title: '培训名称'
            },
            {
                halign: 'center',
                align: 'left',
                width: 250,
                field: 'address',
                title: '培训地址'
            }, {
                field: 'signState',
                title: '签到情况'

            }
        ]
    });
</script>